//
//  LCFxzcListTitleFlowLayout.m
//  LCHistory
//
//  Created by jiukuyinyue on 2017/8/29.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LCFxzcListTitleFlowLayout.h"

@implementation LCFxzcListTitleFlowLayout
-(void)prepareLayout{
    
    CGFloat width = (self.collectionView.frame.size.width - 0) / 3;
    
    self.itemSize = CGSizeMake(width, self.collectionView.bounds.size.height);

    //设置collectionView的组间距为0
    self.sectionInset = UIEdgeInsetsZero;
    
    //设置cell之间的最小间距
    self.minimumInteritemSpacing = 0;
    //设置cell之间的最小行间距
    self.minimumLineSpacing = 0;
    self.scrollDirection = UICollectionViewScrollDirectionVertical;//水平
    
    
}
@end
